<template>
  <div >
    <div class="mt10" style=" display: flex;border-bottom: 1px solid #ebedf0;">
      <div class="blue_item" />
      <span class="font15" style="display: flex; line-height: 33px;margin-left:5px;  flex:1;">融合能力甄别</span> 
    </div>
    <van-field readonly required name="isAbilitySuitable" :value="fromdata.isAbilitySuitable" label="融合能力是否适用：" label-width="9em" />
    <van-field v-if="fromdata.isAbilitySuitable=='否'" readonly required autosize type="textarea" rows="1" name="isAbilitySuitableExplain" :value="fromdata.isAbilitySuitableExplain" label="甄别情况不适用说明：" label-width="10em" />
    <el-table v-if="fromdata.isAbilitySuitable=='是'" :data="fromdata.abilityInfoModel" border style="width: 100%;font-size: 12px;" class="tables" >
      <el-table-column prop="onename" label="能力分类（一级）"/>
      <el-table-column prop="twoname" label="能力分类（二级）"/>
      <el-table-column prop="threename" label="能力分类（三级）"/>
      <el-table-column prop="abilityName" label="能力提供方" />
      <el-table-column prop="abilityUser" label="甄别人"/>
      <el-table-column prop="abilityOrg" label="甄别人组织"/>
    </el-table>
    
    <div class="mt10" style=" display: flex;border-bottom: 1px solid #ebedf0;">
    <div class="blue_item" />
      <span class="font15" style="display: flex; line-height: 33px;margin-left:5px;  flex:1;">承办</span> 
    </div>
    <van-field readonly required name="biddingPlan" :value="fromdata.biddingPlan" label="投标计划：" label-width="5em" />
    <van-field readonly required name="isEffective2" :value="fromdata.isEffective2" label="是否信息化项目：" label-width="8em" />
    <van-field readonly required name="businessName" :value="fromdata.businessName" label="商机名称：" label-width="5em" />
    <van-field readonly required name="businessId" :value="fromdata.businessId" label="商机编号：" label-width="5em" />
    <!-- 商机研判PC暂未上线，手机端先上 -->
<!--    <van-field v-if="fromdata.biddingPlan=='拟投标'&&fromdata.isEffective2=='是'" readonly required name="isCompleteBusinessJudged" :value="fromdata.isCompleteBusinessJudged" label="商机研判是否完成：" label-width="9em" />-->
<!--    <van-field v-if="fromdata.biddingPlan=='拟投标'&&fromdata.isEffective2=='是'" readonly required name="businessJudgedPmInsId" :value="fromdata.businessJudgedPmInsId" label="商机研判工单编号：" label-width="9em" />-->
    <van-field readonly required name="customerCode" :value="fromdata.customerCode" label="客户编码：" label-width="5em" />
    <van-field readonly required name="customerName" :value="fromdata.customerName" label="客户名称：" label-width="5em" />
    <van-field readonly required name="budgetAmount" :value="fromdata.budgetAmount" label="商机预算(万元)：" label-width="8.5em" />
    <van-field readonly required name="budgetTime" :value="fromdata.budgetTime" label="商机录入时间：" label-width="7em" />
    <van-field readonly required autosize type="textarea" rows="1" name="taggingDescription" :value="fromdata.taggingDescription" label="应标项目描述：" label-width="7em" />
    <van-field readonly required name="businessAdvance" :value="fromdata.businessAdvance" label="商机提前量(天)：" label-width="8.5em" />
    <van-field readonly required name="businessSign" :value="fromdata.businessSign" label="上报商机标志：" label-width="7em" />
    <van-field readonly required name="receiptTitle" :value="fromdata.receiptTitle" label="方案支撑工单：" label-width="7em" />
    <van-field readonly name="supportProgramList" :value="fromdata.supportProgramList" label="支撑方案：" label-width="5em" />
    <van-field v-if="fromdata.biddingPlan=='拟投标'" readonly required name="weBidSubject" :value="fromdata.weBidSubject" label="我方投标主体：" label-width="7em" />
    <van-field v-if="fromdata.biddingPlan=='拟不投标'" readonly required autosize type="textarea" rows="1" name="noBiddingReason" :value="fromdata.noBiddingReason" label="拟不投标原因：" label-width="7em" />
    <van-field readonly required name="advantage" :value="fromdata.advantage" label="竞争优势方：" label-width="6em" />
    <van-field readonly required name="capitalSource" :value="fromdata.capitalSource" label="资金来源：" label-width="5em" />
    <van-field readonly required name="durationRequirement" :value="fromdata.durationRequirement" label="工期要求（天）：" label-width="8em" />
    <van-field readonly required autosize type="textarea" rows="1" name="content" :value="fromdata.content" label="项目建设内容：" label-width="7em" />
    <van-field readonly required autosize type="textarea" rows="1" name="description" :value="fromdata.description" label="信息化部分说明：" label-width="8em" />
    <van-field readonly required autosize type="textarea" rows="1" name="projectQualification" :value="fromdata.projectQualification" label="项目资质要求（所需资质支撑）：" label-width="12em" />
    <van-field readonly required autosize type="textarea" rows="1" name="friendshipState" :value="fromdata.friendshipState" label="友商跟进情况（竞争对手分析）：" label-width="12em" />
    <van-field readonly required name="isFollow" :value="fromdata.isFollow" label="是否继续跟进：" label-width="7em" />
    <van-field v-if="fromdata.isFollow=='否'" readonly required autosize type="textarea" rows="1" name="noFollow" :value="fromdata.noFollow" label="拟不跟进原因：" label-width="7em" />
    <van-field readonly autosize type="textarea" rows="1" name="remarks" :value="fromdata.remarks" label="备注：" label-width="3em" />
    <div style="padding-bottom: 42px"></div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      yidongzhongbiao:false
    }
  },
  props: ['businessdata','fromdata','showHistory','historydata','approveList'],
  created() {
    if(this.fromdata.winPeopleModel=='中国移动'||this.fromdata.winPeopleModel=='集成商'){
      console.log('是否移动中标111111111'+this.fromdata.winPeopleModel)
      this.yidongzhongbiao=true;
    }else {
      console.log('是否移动中标22222222'+this.fromdata.winPeopleModel)
      this.yidongzhongbiao=false;
    }
  },
  methods: {
  
  },
  computed: {

  },
}
</script>
 
<style>
.tables.el-table .cell {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-all;
    line-height: 15px;
    padding-left: 5px;
    padding-right: 5px;
}
</style>